package car.aistar.entity;

import java.io.Serializable;
import java.util.Date;

/**
 * (Seller)实体类
 *
 * @author makejava
 * @since 2020-09-30 20:28:13
 */
public class Seller implements Serializable {
    private static final long serialVersionUID = -54071654866633101L;
    /**
     * 销售id
     */
    private Long sid;
    /**
     * 销售姓名
     */
    private String uname;
    /**
     * 销售人员电话
     */
    private String phone;
    /**
     * 销售人员账号
     */
    private String account;
    /**
     * 密码
     */
    private String pwd;
    /**
     * 预约时间
     */
    private Date resDate;
    /**
     * 销售额
     */
    private Long sellTotal;

    public Seller() {
    }

    public Seller(Long sid, String uname, String phone, String account, String pwd, Date resDate, Long sellTotal) {
        this.sid = sid;
        this.uname = uname;
        this.phone = phone;
        this.account = account;
        this.pwd = pwd;
        this.resDate = resDate;
        this.sellTotal = sellTotal;
    }

    public Long getSid() {
        return sid;
    }

    public void setSid(Long sid) {
        this.sid = sid;
    }

    public String getUname() {
        return uname;
    }

    public void setUname(String uname) {
        this.uname = uname;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }

    public String getPwd() {
        return pwd;
    }

    public void setPwd(String pwd) {
        this.pwd = pwd;
    }

    public Date getResDate() {
        return resDate;
    }

    public void setResDate(Date resDate) {
        this.resDate = resDate;
    }

    public Long getSellTotal() {
        return sellTotal;
    }

    public void setSellTotal(Long sellTotal) {
        this.sellTotal = sellTotal;
    }

    @Override
    public String
    toString (){
        final StringBuilder sb = new StringBuilder("Seller{");
        sb.append("sid=").append(sid);
        sb.append(", uname='").append(uname).append('\'');
        sb.append(", phone='").append(phone).append('\'');
        sb.append(", account='").append(account).append('\'');
        sb.append(", pwd='").append(pwd).append('\'');
        sb.append(", resDate=").append(resDate);
        sb.append(", sellTotal=").append(sellTotal);
        sb.append('}');
        return sb.toString();
    }
}